import axios from 'axios'

const request = axios.create({
  baseURL: 'https://api-hmugo-web.itheima.net',
  headers: {
    "content-type": "application/json"
  }
})

request.interceptors.response.use((response) => {
  return response.data
})

export default request
